package com.ly.user_system.service.impl;

import com.ly.user_system.base.BaseServiceImpl;
import org.springframework.stereotype.Service;
import java.util.function.Function;
import com.ly.user_system.entity.UserAddress;
import com.ly.user_system.dto.UserAddressDTO;
import com.ly.user_system.detail.UserAddressDetail;
import com.ly.user_system.req.UserAddressQuery;
import com.ly.user_system.service.UserAddressService;
import com.ly.user_system.mapper.UserAddressMapper;

@Service
public class UserAddressServiceImpl extends BaseServiceImpl<UserAddress, UserAddressDetail, UserAddressDTO, UserAddressQuery, UserAddressMapper> implements UserAddressService {


    @Override
    protected void init(Class<UserAddress> entityClass, Class<UserAddressDTO> dtoClass, Class<UserAddressDetail> detailClass, Function<UserAddress, UserAddressDetail> detailFunction) {
        super.init(UserAddress.class,UserAddressDTO.class,UserAddressDetail.class,detailFunction);
    }

}